﻿/*******************************************************************************
#                    OnionsEntity.cst
#  Comment:
#
#  Current Version: V1.0
#  Author: 
#
#  History List:
#  V1.0    Created by Onions@2009-8-18 21:06:30
#
#******************************************************************************/
using System;
using System.Collections.Generic;
using System.Text;
using IBatisNet.Extend;

namespace ExpertMIS.Entities
{

    /// <summary><c>YafForumEntity</c> Business Object.</summary>
    [Serializable]
    public class ForumEntity : BaseEntity
    {

        #region Constructor

        public ForumEntity()
        {
            // construct your entity
        }

        #endregion

        #region Properties

        #region ForumID

        private Int32 _forumID;

        /// <summary>Gets or sets ForumID</summary>
        public Int32 ForumID
        {
            get { return _forumID; }
            set { _forumID = value; }
        }

        #endregion

        #region CategoryID

        private Int32 _categoryID;

        /// <summary>Gets or sets CategoryID</summary>
        public Int32 CategoryID
        {
            get { return _categoryID; }
            set { _categoryID = value; }
        }

        #endregion

        #region ParentID

        private Int32? _parentID;

        /// <summary>Gets or sets ParentID</summary>
        public Int32? ParentID
        {
            get { return _parentID; }
            set { _parentID = value; }
        }

        #endregion

        #region Name

        private String _name;

        /// <summary>Gets or sets Name</summary>
        public String Name
        {
            get { return _name; }
            set { _name = value; }
        }

        #endregion

        #region Description

        private String _description;

        /// <summary>Gets or sets Description</summary>
        public String Description
        {
            get { return _description; }
            set { _description = value; }
        }

        #endregion

        #region SortOrder

        private Int16 _sortOrder;

        /// <summary>Gets or sets SortOrder</summary>
        public Int16 SortOrder
        {
            get { return _sortOrder; }
            set { _sortOrder = value; }
        }

        #endregion

        #region LastPosted

        private DateTime? _lastPosted;

        /// <summary>Gets or sets LastPosted</summary>
        public DateTime? LastPosted
        {
            get { return _lastPosted; }
            set { _lastPosted = value; }
        }

        #endregion

        #region LastTopicID

        private Int32? _lastTopicID;

        /// <summary>Gets or sets LastTopicID</summary>
        public Int32? LastTopicID
        {
            get { return _lastTopicID; }
            set { _lastTopicID = value; }
        }

        #endregion

        #region LastMessageID

        private Int32? _lastMessageID;

        /// <summary>Gets or sets LastMessageID</summary>
        public Int32? LastMessageID
        {
            get { return _lastMessageID; }
            set { _lastMessageID = value; }
        }

        #endregion

        #region LastUserID

        private Int32? _lastUserID;

        /// <summary>Gets or sets LastUserID</summary>
        public Int32? LastUserID
        {
            get { return _lastUserID; }
            set { _lastUserID = value; }
        }

        #endregion

        #region LastUserName

        private String _lastUserName;

        /// <summary>Gets or sets LastUserName</summary>
        public String LastUserName
        {
            get { return _lastUserName; }
            set { _lastUserName = value; }
        }

        #endregion

        #region NumTopics

        private Int32 _numTopics;

        /// <summary>Gets or sets NumTopics</summary>
        public Int32 NumTopics
        {
            get { return _numTopics; }
            set { _numTopics = value; }
        }

        #endregion

        #region NumPosts

        private Int32 _numPosts;

        /// <summary>Gets or sets NumPosts</summary>
        public Int32 NumPosts
        {
            get { return _numPosts; }
            set { _numPosts = value; }
        }

        #endregion

        #region RemoteURL

        private String _remoteURL;

        /// <summary>Gets or sets RemoteURL</summary>
        public String RemoteURL
        {
            get { return _remoteURL; }
            set { _remoteURL = value; }
        }

        #endregion

        #region Flags

        private Int32 _flags;

        /// <summary>Gets or sets Flags</summary>
        public Int32 Flags
        {
            get { return _flags; }
            set { _flags = value; }
        }

        #endregion

        #region ThemeURL

        private String _themeURL;

        /// <summary>Gets or sets ThemeURL</summary>
        public String ThemeURL
        {
            get { return _themeURL; }
            set { _themeURL = value; }
        }

        #endregion

        #region ForumIcon

        private String _forumIcon;

        /// <summary>Gets or sets ForumIcon</summary>
        public String ForumIcon
        {
            get { return _forumIcon; }
            set { _forumIcon = value; }
        }

        #endregion

        #endregion
    }

}
